WooCommerce\Square\Handlers\Background_Job S

Total Complexity 25
Dependencies 6
Dependents 1
Total lines 328
Lines of code 129
Logical lines of code 64
Comment lines 128
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
process_job()
S
55 6 20
set_default_time_limit()
S
66 3 8
handle()
S
61 2 13
create_job()
S
56 1 20
__construct()
S
58 1 16
clear_all_jobs()
S
69 2 7
delete_jobs()
S
74 2 5
maybe_increase_time_limit()
S
68 2 7
job_complete()
S
73 1 5
job_failed()
S
67 1 9
process_item()
S
98 1 1
is_time_exceeded()
S
81 1 3
add_debug_tool()
S
63 1 10
run_clear_background_jobs()
S
73 1 5